package org.item.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.item.common.enumbean.Gender;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("customers")
public class Customers extends BaseBean implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    private String email;
    private String phone;
    private LocalDateTime birthdate;
    private Gender gender;

    private List<CustomerContacts> contacts;


}
